package com.strongdigit.ioc.beanannotation;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

@Scope("prototype")
@Component("bean")
public class BeanAnnotation {

    public void say(String args){
        System.out.println("Beanannotation:"+args);
    }

    public void testscope(){
        System.out.println("bean hashcode:"+this.hashCode());

    }


}
